package com.bifrost.service;

import com.bifrost.entity.OrderReturn;
import com.bifrost.entity.User;
import com.bifrost.model.ReturnAuditModel;
import com.bifrost.model.vo.PageVO;

import java.util.List;

public interface AdminOrderReturnService {
    PageVO findByPage(String returnType, String orderReturnNumber, String originalOrderNumber, String orderReturnStatus, List<Long> merchantStoreIdList, String productCode, String productName, String startTime, String endTime, Integer pageCode, Integer pageSize);

    List<OrderReturn> findByOrderNum(String orderNum);

    List<OrderReturn> findByMerchantName(String merchantName);

    OrderReturn findByReturnNumber(String returnNumber);

    OrderReturn findByReturnById(Long Id);

    void audit(User user, ReturnAuditModel auditModel);

    void refund(User byId, Long orderReturnId);
}
